/*
day55_3
2019.10.22
*/
#define SUM(a,b,c) (a)+(b)+(c)
struct TreeNode {
	int val;
	struct TreeNode *left;
	struct TreeNode *right;
};

int sumOfLeftLeaves(struct TreeNode* root){
	int cur=0;
	if(!root||!root->left&&!root->right) return 0;
	if(root->left)
	{
		if(!root->left->left&&!root->left->right) cur=root->left->val;
	}
	return SUM(sumOfLeftLeaves(root->left),sumOfLeftLeaves(root->right),cur);
}

int main()
{
	return 0;
}
